package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待办事项
 *对象 sys_todoevent
 *
 * @author ruoyi
 * @date 2022-01-10
 */
public class SysTodoevent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 提醒事件 */
    @Excel(name = "提醒事件")
    private String reminder;

    /** 事件状态（0未处理 1已处理） */
    @Excel(name = "事件状态", readConverterExp = "0=未处理,1=已处理")
    private Long status;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long publishId;

    /** 处理人id */
    @Excel(name = "处理人id")
    private Long handleId;

    /** 请求路径 */
    @Excel(name = "请求路径")
    private String requestUrl;

    /** 关联任务id */
    @Excel(name = "关联任务id")
    private Long relatedtaskId;

    //周期位置状态
    private int lifStatus;



    private Long projectId;

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public int getLifStatus() {
        return lifStatus;
    }

    public void setLifStatus(int lifStatus) {
        this.lifStatus = lifStatus;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setReminder(String reminder)
    {
        this.reminder = reminder;
    }

    public String getReminder()
    {
        return reminder;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setPublishId(Long publishId)
    {
        this.publishId = publishId;
    }

    public Long getPublishId()
    {
        return publishId;
    }
    public void setHandleId(Long handleId)
    {
        this.handleId = handleId;
    }

    public Long getHandleId()
    {
        return handleId;
    }

    public void setRequestUrl(String requestUrl)
    {
        this.requestUrl = requestUrl;
    }

    public String getRequestUrl()
    {
        return requestUrl;
    }

    public void setRelatedtaskId(Long relatedtaskId)
    {
        this.relatedtaskId = relatedtaskId;
    }

    public Long getRelatedtaskId()
    {
        return relatedtaskId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reminder", getReminder())
            .append("status", getStatus())
            .append("publishId", getPublishId())
            .append("handleId", getHandleId())
            .append("requestUrl", getRequestUrl())
            .append("relatedtaskId", getRelatedtaskId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
